package org.shopen.ai.puremvc.view.project
{
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.mediator.Mediator;
	import org.shopen.ai.puremvc.view.project.components.ProjectSearchView;
	import org.shopen.ai.puremvc.view.project.components.ProjectStatisticView;

	public class ProjectStatisticViewMediator extends Mediator
	{
		public static const NAME : String = "ProjectStatisticViewMediator";
		
		protected function get projectSetup() : ProjectStatisticView
		{
			var result : ProjectStatisticView = viewComponent as ProjectStatisticView;
			return result;
		} 
		
		public function ProjectStatisticViewMediator(viewComponent:ProjectStatisticView=null)
		{
			super(ProjectStatisticViewMediator.NAME, viewComponent);
		}
		
		override public function getMediatorName():String
		{
			return ProjectStatisticViewMediator.NAME;
		}
		
		override public function onRegister():void
		{
			// TODO: send request results...
		}
		
		override public function listNotificationInterests():Array
		{
			// TODO: implement
			return [];
		}
		
		override public function handleNotification(notification:INotification):void
		{
			
		}
	}
}